package com.sdy.resdir.biz.service.impl;

import com.sdy.resdir.biz.model.RdOrderApp;
import com.sdy.resdir.biz.model.RdSystemIp;
import com.sdy.resdir.biz.mapper.RdSystemIpMapper;
import com.sdy.resdir.biz.service.RdSystemIpService;
import com.sdy.mvc.service.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hyh
 * @since 2019-10-24
 */
@Slf4j
@Service
public class RdSystemIpServiceImpl extends BaseServiceImpl<RdSystemIp> implements RdSystemIpService {
    @Autowired
    private RdSystemIpMapper rdSystemIpMapper;

    /**
     * 实施完成后，半丁自建系统的IP的id到数据库里
     * @param list
     * @return
     */
    @Override
    public Boolean updateResIdsBetch(List<RdSystemIp> list) {

        return rdSystemIpMapper.updateResIdsBetch(list);
    }

    @Override
    public Boolean updateResBetch(List<RdSystemIp> list) {
        return rdSystemIpMapper.updateResBetch(list);
    }
}
